package za.ac.cput.kleintjes.birthdate.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.kleintjes.birthdate.Birthdate;
import za.ac.cput.kleintjes.birthdate.Impl.BirthdateImpl;
/**
 *
 * @author Administrator
 */

@Configurable
public class BirthdateConfig 
{    
    @Bean(name = "date")
    public Birthdate date() 
    {
        return new BirthdateImpl();
    }
}
